﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="ShippingInformation.aspx.cs" Inherits="RBOSS.WebUI.ShippingInformation" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style>
        .address-header {
            font-size: 16px;
            font-weight: bold;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ValidationSummary runat="server" ID="valSummary" ValidationGroup="ValSave" ForeColor="red" />
    <asp:RegularExpressionValidator ID="regexEmailValid" runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="txbEmail" ValidationGroup="ValSave" ErrorMessage="Invalid Email Format"></asp:RegularExpressionValidator>
    <asp:RequiredFieldValidator runat="server" ControlToValidate="txbEmail" ValidationGroup="ValSave" ErrorMessage="Email is required" Text="*">&nbsp;</asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator runat="server" ControlToValidate="txbName" ValidationGroup="ValSave" ErrorMessage="Name is required" ForeColor="red" Text="&nbsp;"> &nbsp; </asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator runat="server" ControlToValidate="txbAddress1" ValidationGroup="ValSave" ErrorMessage="Address1 is required" ForeColor="red" Text="&nbsp;"> &nbsp; </asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator runat="server" ControlToValidate="txbCity" ValidationGroup="ValSave" ErrorMessage="City is required" Text="*">&nbsp;</asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator runat="server" ControlToValidate="txbState" ValidationGroup="ValSave" ErrorMessage="State is required" Text="*">&nbsp;</asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator runat="server" ControlToValidate="txbZip" ValidationGroup="ValSave" ErrorMessage="Zip is required" Text="*">&nbsp;</asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator runat="server" ControlToValidate="txbCountry" ValidationGroup="ValSave" ErrorMessage="Country is required" Text="*">&nbsp;</asp:RequiredFieldValidator>
    <div class="shipping-info">
        <div class="address-header">
            Shipping Information
        </div>
        <asp:CheckBox runat="server" ID="chkShippingAddress" AutoPostBack="True" Text="Is shipping address the same as billing adress?" />
        <p></p>
        <table>
            <tr>
                <td>
                    <asp:Label runat="server" ID="lblEmail"><span style="color:red">*</span>Email</asp:Label><br />
                    <asp:TextBox runat="server" ID="txbEmail" Width="300"></asp:TextBox>
                    
                </td>
            </tr>
            <tr>
                <td><span style="color:red">*</span> Full name <br />
                    <asp:TextBox runat="server" ID="txbName" Width="300"></asp:TextBox>
                
                    </td>
            </tr>
            <tr>
                <td><span style="color:red">*</span> Address line 1
                    <br />
                    <asp:TextBox runat="server" ID="txbAddress1" Width="300"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Address line 2 
                    <br />
                    <asp:TextBox runat="server" ID="txbAddress2" Width="300"></asp:TextBox></td>
            </tr>
            <tr>
                <td><span style="color:red">*</span> City
                    <br />
                    <asp:TextBox runat="server" ID="txbCity" Width="300"></asp:TextBox></td>
            </tr>
            <tr>
                <td><span style="color:red">*</span> State/Province/Region
                    <br />
                    <asp:TextBox runat="server" ID="txbState" Width="300"></asp:TextBox></td>
            </tr>
            <tr>
                <td><span style="color:red">*</span> ZIP
                    <br />
                    <asp:TextBox runat="server" ID="txbZip" Width="300"></asp:TextBox></td>
            </tr>
            <tr>
                <td><span style="color:red">*</span> Country
                    <br />
                    <asp:TextBox runat="server" ID="txbCountry" Width="300"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Phone number 
                    <br />
                    <asp:TextBox runat="server" ID="txbPhoneNumber" Width="300"></asp:TextBox></td>
            </tr>
        </table>
        <asp:Button runat="server" ID="butNext" ValidationGroup="ValSave" Text="Next" />
    </div>
</asp:Content>
